/**
 * Created by chenxiaoyu on 2018/6/5
 * Email 1524904743@qq.com
 */

require(['../config'], function () {
    require(['jquery', 'underscore', 'pub'], function ($, _, _pub) {
        $('body>div>header').load('../../html/public/header.html', function () {
            _pub.headerNav();
            _pub.isLogin();
        })
        console.log('==============');
        console.log(_);
        _pub.leftNavLoad();
        var myCarousel= new _pub.InitCarousel('carousel');
        myCarousel.init();
        _pub.footerLoad();
    })
})
